

try:
    with open('data-txt.txt.txt', mode='r', encoding='utf-8') as f:
        words = f.readlines()
        print(words)
except IOError as e:
    print(e)
